#ifndef _CONFIG_H_
#define _CONFIG_H_

#include "sdhlp/singleton.h"
#include <string>
#include <sddb.h>

class CConfig
{
public:
	DECLARE_SINGLETON(CConfig)

	bool LoadConfig(const char * lpInitFile);

    const char* GetPipeConf(void) { return "srv_cfg.xml"/*m_strPipeConf.c_str()*/; }
    const char* GetIpList(void) { return "iplist.xml"/*m_strIpList.c_str()*/; }

    int GetDBConnInfo(SDBConnInfo** ppstInfo);

protected:
	CConfig();
	virtual ~CConfig();

private:
};
#endif